package com.agentframework.core.environment;

/**
 * @author wangjun
 **/
public abstract class EnvironmentEvent {

    private final AbstractEnvironment environment;

    private final long timestamp;

    protected EnvironmentEvent(AbstractEnvironment environment) {
        this.environment = environment;
        this.timestamp = System.currentTimeMillis();
    }

    public AbstractEnvironment getEnvironment() {
        return environment;
    }

    public long getTimestamp() {
        return timestamp;
    }

}
